#pragma once

#include "Villager.h"
#include "../animal/Deer.h"
#include "time.h"
#include <list>
#include <iostream>
#include "../../../Terrain.h"
#include <cmath>
#include "../../../scene/Timer.h"
#include "../../../gameLogic/DecisionTree.h"
#include <cstdlib>

#define PI 3.14159265

class Hunter: public Villager
{
public:
	Hunter(glm::vec3 _Pos, float _r, float _speed, std::string _Name,
			std::string _modelFName, ModelPool *_mPool, PathFinder *_pathfinder,
			Terrain::Terrain *_ter);

	~Hunter(void);
	virtual void AIFunction();
	void buildDecisionTree();
	unsigned int resolveDecision(unsigned int id);
protected:
	Deer *deer;
	DecisionTree *dTree;
	Timer timer2;
};

